package com.song.module.admin.response;

import com.song.module.admin.entity.ApCookbook;
import com.song.module.admin.entity.ApCookbookIngredient;
import com.song.module.admin.entity.ApCookbookInstruction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 功能描述
 *
 * @author song
 * @version 1.0
 * @date 2024-02-24 16:52:43
 */
@Data
@Builder
@Accessors(chain = true)
@ApiModel(value = "客户端菜谱详情响应参数")
public class ApCookbookResponse {

    @ApiModelProperty(value = "菜谱基本信息")
    private ApCookbook apCookbook;

    /**
     * 是否收藏
     */
    private boolean collect;

    @ApiModelProperty(value = "菜谱用料列表")
    private List<ApCookbookIngredient> cookbookIngredientList;

    @ApiModelProperty(value = "做法列表")
    private List<ApCookbookInstruction> cookbookInstructionList;

}
